package com.example.demo.service;

import com.example.demo.entity.ResultMsg;
import com.example.demo.entity.User;

/**
 * @Author: zcb
 * @Description:
 * @Date: 2021/9/27
 */
public interface UserService {
    User getOne(String name);

    ResultMsg insertUser(String name, Byte companyId);

    ResultMsg firstUser(String name,Byte companyId);

    ResultMsg userOrder(String name, Byte companyId);

    ResultMsg updateUserOrderAmount(Long userId, int amount, Byte companyId);
}
